package com.hth.feign.api;

import org.springframework.stereotype.Component;

@Component
public class Person {

    Integer id;
    String name;
    String sex;
    String info;

    public Person() {
    }

    public Person(Integer id, String name, String sex, String info) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.info = info;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}
